//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="GRNDTLM")]
		public class GRNDTLMEntity: EntityObject
		{


#region Field
				private	string _CCY_CODE="";
				private	string _ITEM_NO="";
				private	string _REC_DT="";
				private	string _REC_NO="";
				private	string _REFX_NO="";
				private	Int32 _SERIAL_NO=0;
				private	string _TRANS_PO_DT="";
				private	string _TRANS_PO_NO="";
				private	decimal _TRANS_QTY=0;
				private	decimal _TRANS_QTY2=0;
				private	string _TRANS_RMK="";
				private	string _TRANS_UDFX1="";
				private	string _TRANS_UDFX2="";
				private	string _TRANS_UDFX3="";
				private	string _TRANS_UDFX4="";
				private	string _TRANS_UDFX5="";
				private	string _TRANS_UDFX6="";
				private	decimal _UNIT_PRICE=0;
				private	string _UOM_CODE="";
				private	decimal _XCHG_RATE=0;
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//GRNDTLM,CCY_CODE
				//</Summary>
				public string CCY_CODE
				{
					get { return _CCY_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CCY_CODE)
							{
								_CCY_CODE = value; 
								this.PropertyChange("CCY_CODE");
							}
						}else{
							_CCY_CODE = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ITEM_NO
				//</Summary>
				public string ITEM_NO
				{
					get { return _ITEM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ITEM_NO)
							{
								_ITEM_NO = value; 
								this.PropertyChange("ITEM_NO");
							}
						}else{
							_ITEM_NO = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,REC_DT
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string REC_DT
				{
					get { return _REC_DT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_REC_DT)
							{
								_REC_DT = value; 
								this.PropertyChange("REC_DT");
							}
						}else{
							_REC_DT = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,REC_NO
				//</Summary>
				public string REC_NO
				{
					get { return _REC_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_REC_NO)
							{
								_REC_NO = value; 
								this.PropertyChange("REC_NO");
							}
						}else{
							_REC_NO = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,REFX_NO
				//</Summary>
				public string REFX_NO
				{
					get { return _REFX_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_REFX_NO)
							{
								_REFX_NO = value; 
								this.PropertyChange("REFX_NO");
							}
						}else{
							_REFX_NO = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,SERIAL_NO
				//</Summary>
				public Int32 SERIAL_NO
				{
					get { return _SERIAL_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_SERIAL_NO)
							{
								_SERIAL_NO = value; 
								this.PropertyChange("SERIAL_NO");
							}
						}else{
							_SERIAL_NO = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_PO_DT
				//</Summary>
				public string TRANS_PO_DT
				{
					get { return _TRANS_PO_DT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_PO_DT)
							{
								_TRANS_PO_DT = value; 
								this.PropertyChange("TRANS_PO_DT");
							}
						}else{
							_TRANS_PO_DT = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_PO_NO
				//</Summary>
				public string TRANS_PO_NO
				{
					get { return _TRANS_PO_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_PO_NO)
							{
								_TRANS_PO_NO = value; 
								this.PropertyChange("TRANS_PO_NO");
							}
						}else{
							_TRANS_PO_NO = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_QTY
				//</Summary>
				public decimal TRANS_QTY
				{
					get { return _TRANS_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_QTY)
							{
								_TRANS_QTY = value; 
								this.PropertyChange("TRANS_QTY");
							}
						}else{
							_TRANS_QTY = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_QTY2
				//</Summary>
				public decimal TRANS_QTY2
				{
					get { return _TRANS_QTY2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_QTY2)
							{
								_TRANS_QTY2 = value; 
								this.PropertyChange("TRANS_QTY2");
							}
						}else{
							_TRANS_QTY2 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_RMK
				//</Summary>
				public string TRANS_RMK
				{
					get { return _TRANS_RMK; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_RMK)
							{
								_TRANS_RMK = value; 
								this.PropertyChange("TRANS_RMK");
							}
						}else{
							_TRANS_RMK = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_UDFX1
				//</Summary>
				public string TRANS_UDFX1
				{
					get { return _TRANS_UDFX1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX1)
							{
								_TRANS_UDFX1 = value; 
								this.PropertyChange("TRANS_UDFX1");
							}
						}else{
							_TRANS_UDFX1 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_UDFX2
				//</Summary>
				public string TRANS_UDFX2
				{
					get { return _TRANS_UDFX2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX2)
							{
								_TRANS_UDFX2 = value; 
								this.PropertyChange("TRANS_UDFX2");
							}
						}else{
							_TRANS_UDFX2 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_UDFX3
				//</Summary>
				public string TRANS_UDFX3
				{
					get { return _TRANS_UDFX3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX3)
							{
								_TRANS_UDFX3 = value; 
								this.PropertyChange("TRANS_UDFX3");
							}
						}else{
							_TRANS_UDFX3 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_UDFX4
				//</Summary>
				public string TRANS_UDFX4
				{
					get { return _TRANS_UDFX4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX4)
							{
								_TRANS_UDFX4 = value; 
								this.PropertyChange("TRANS_UDFX4");
							}
						}else{
							_TRANS_UDFX4 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_UDFX5
				//</Summary>
				public string TRANS_UDFX5
				{
					get { return _TRANS_UDFX5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX5)
							{
								_TRANS_UDFX5 = value; 
								this.PropertyChange("TRANS_UDFX5");
							}
						}else{
							_TRANS_UDFX5 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,TRANS_UDFX6
				//</Summary>
				public string TRANS_UDFX6
				{
					get { return _TRANS_UDFX6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX6)
							{
								_TRANS_UDFX6 = value; 
								this.PropertyChange("TRANS_UDFX6");
							}
						}else{
							_TRANS_UDFX6 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,UNIT_PRICE
				//</Summary>
				public decimal UNIT_PRICE
				{
					get { return _UNIT_PRICE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UNIT_PRICE)
							{
								_UNIT_PRICE = value; 
								this.PropertyChange("UNIT_PRICE");
							}
						}else{
							_UNIT_PRICE = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,UOM_CODE
				//</Summary>
				public string UOM_CODE
				{
					get { return _UOM_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_CODE)
							{
								_UOM_CODE = value; 
								this.PropertyChange("UOM_CODE");
							}
						}else{
							_UOM_CODE = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,XCHG_RATE
				//</Summary>
				public decimal XCHG_RATE
				{
					get { return _XCHG_RATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_XCHG_RATE)
							{
								_XCHG_RATE = value; 
								this.PropertyChange("XCHG_RATE");
							}
						}else{
							_XCHG_RATE = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//GRNDTLM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
